<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
  </head>
  <body>
    <%
Map meg = (Map)request.getAttribute("map");
String message =(meg!=null)?(String)meg.get("msg"):"";
String retsu = (meg!=null)?(String)meg.get("success"):"";
String loadpage=request.getContextPath()+"/login.htm";

 response.setContentType("text/html; charset=utf-8");
	//表示登录成功
	if(retsu!=null && "true".equalsIgnoreCase(retsu)){
		loadpage=request.getContextPath()+"/symanage/main.jsp";
	}
	request.setAttribute("message",message);
	request.setAttribute("url",loadpage);
	RequestDispatcher dispatcher = request.getRequestDispatcher("/symanage/msg.jsp");
	dispatcher.forward(request, response);
%>

  </body>
</html>
